package com.chenfubing.ps.controller;

import com.chenfubing.ps.entity.pojo.CountPojo;
import com.chenfubing.ps.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chenfubing
 */
@Controller
public class IndexController {



    @RequestMapping("/index")
    public String index(){
        return "index";
    }

    @RequestMapping("/access")
    public String access(){
        return "access";
    }

    @RequestMapping("/car")
    public String car(){
        return "car";
    }

    @RequestMapping("/space")
    public String space(){
        return "space";
    }

    @RequestMapping("/charges")
    public String charges(){
        return "charges";
    }

    @RequestMapping("/community")
    public String community(){
        return "community";
    }

    @RequestMapping("/order")
    public String order(){
        return "order";
    }

    @RequestMapping("/user")
    public String user(){
        return "user";
    }

    @RequestMapping("/appointment")
    public String appointment()
    {
        return "appointment";
    }
}
